package com.ian.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.time.Duration;

/**
 * @author Witt
 * @version 1.0.0
 * @date 2022/7/21
 */

@ConfigurationProperties("custom.config")
@Data
public class ConfigProperties {

    /**
     * ID标识
     */
    private Integer id = 100000001;

    /**
     * IP地址
     */
    private String ip = "127.0.0.1";

    /**
     * 是否启用
     */
    private boolean enabled = false;
}
